package com.liao.badminton.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.liao.badminton.code.*;
import com.liao.badminton.dto.StatDto;
import com.liao.badminton.entity.BoutRecord;
import com.liao.badminton.dto.BoutRecordDto;
import com.liao.badminton.vo.BoutRecordVo;
import com.liao.badminton.vo.StatVo;

import java.util.List;

/**
* @author liaocheng
* @date 2024-10-31
* description:单局详情表
*/
public interface BoutRecordService extends IService<BoutRecord> {
	/**
     * 新增
     */
	 ResponseRest saveBoutRecord(BoutRecordDto param)throws ProjectException;
	/**
     * 修改
     */
	 ResponseRest updateBoutRecord(BoutRecordDto param)throws ProjectException;
	/**
     * 查询列表
     */
	 ResponseRest findBoutRecordByPageParam(PageParam<BoutRecordDto> PageParam)throws ProjectException;
    /**
    * 查询详情
    */
    ResponseRest findDetail(BoutRecordDto param)throws ProjectException;
	/**
     * 删除
     */
	 ResponseRest deletesBoutRecord(BoutRecordDto param)throws ProjectException;



    void deleteByImportRecordIdHard(Long importRecordId);

	ResponseRest<StatVo> findTeamStat(StatDto param);

	ResponseRest findTeamStatImport(PageParam<StatDto> param);

	ResponseRest<String> txtByImport(StatDto param);

	ResponseRest findMostTeam(StatDto param);
}

